package it.unibo.location;

/**
 * @author ale
 * @version 1.0
 * @created 24-ott-2012 00:47:49
 */
public class LocationEvent {

	private ILocation location;
	private LocationDevice locationDevice;

	/**
	 * 
	 * @param dev
	 * @param loc
	 */
	public LocationEvent(LocationDevice dev, ILocation loc){
		this.location = loc;
		this.locationDevice = dev;
	}

	public ILocation getLocation(){
		return location;
	}

	/**
	 * return (LocationDevice)getSource();
	 */
	public LocationDevice getLocationDevice(){
		return locationDevice;
	}

}